Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

Fix footprint time threshold calculation logic - #869

Merged
thenav56 merged 3 commits into
devfrom
fix/footprint-calculation-fix
Jun 23, 2023
Merged

thenav56 merged 3 commits into
devfrom
fix/footprint-calculation-fix

Conversation

@thenav56

@thenav56 thenav56 commented Jun 21, 2023 •

Copy link
Copy Markdown
Member

This user shared that they "left MapSwipe open" on Sunday and now his stats are showing 22 hours.

Deployment steps

  • Run project groups data calculation (Runtime: 5-6 hours for Database with 8CPU 16GB VM)
time docker compose run --rm django ./manage.py update_project_groups_data
  • Reset aggregated tracking point
TRUNCATE TABLE aggregated_aggregatedtracking;
  • Run aggregated data calculation (Runtime: 13-15 min for Database with 8CPU 16GB VM)
time docker compose run --rm django ./manage.py update_aggregated_data

@thenav56
thenav56 changed the base branch from master to dev June 21, 2023 12:14
@thenav56
thenav56 force-pushed the fix/footprint-calculation-fix branch from 0347112 to a7f6b80 Compare June 21, 2023 12:21
@thenav56
thenav56 force-pushed the fix/footprint-calculation-fix branch 2 times, most recently from 18e750a to f0fb426 Compare June 21, 2023 12:41
@thenav56
thenav56 force-pushed the fix/footprint-calculation-fix branch 6 times, most recently from fdc8a07 to 1b4c03a Compare June 22, 2023 08:26
@thenav56
thenav56 marked this pull request as ready for review June 23, 2023 04:41
@thenav56
thenav56 merged commit 9380369 into dev Jun 23, 2023
@thenav56
thenav56 deleted the fix/footprint-calculation-fix branch June 23, 2023 05:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant